package com.dhcc.bpm.modules.scf.vo.ScfRecyclingInInfoVO;


import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.NullSerializer;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

import java.math.BigDecimal;


/**
 * 利废企业入库信息列表查询视图层实体类
 */
@Data
public class ScfGetRecyclingInListVO {
    /**
     * 主体主键
     */
    private String rowId;

    /**
     * 入库单号-一次货运多次入库
     */
    private String recyclingInNum;

    /**
     * 车牌号
     */
    private String truckNum;

    /**
     * 入库品名
     */
    private String specName;

    /**
     * 过磅单号-一对一关联过磅
     */
    private String weighNum;

    /**
     * 入库日期
     */
    private String recyclingInDate;

    /**
     * 毛重
     */
    @TableField("ROUGH_WEIGHT")
    @JsonSerialize(using = ToStringSerializer.class, nullsUsing = NullSerializer.class)
    private BigDecimal roughWeight;

    /**
     * 皮重
     */
    @TableField("TARE_WEIGHT")
    @JsonSerialize(using = ToStringSerializer.class, nullsUsing = NullSerializer.class)
    private BigDecimal tareWeight;

    /**
     * 扣重
     */
    @TableField("DEDUCT_WEIGHT")
    @JsonSerialize(using = ToStringSerializer.class, nullsUsing = NullSerializer.class)
    private BigDecimal deductWeight;

    /**
     * 净重
     */
    @TableField("NET_WEIGHT")
    @JsonSerialize(using = ToStringSerializer.class, nullsUsing = NullSerializer.class)
    private BigDecimal netWeight;

    /**
     * 入库重量（吨）
     */
    @TableField("ENTRY_WEIGHT")
    @JsonSerialize(using = ToStringSerializer.class, nullsUsing = NullSerializer.class)
    private BigDecimal entryWeight;

    /**
     * 单价
     */
    @TableField("UNIT_PRICE")
    @JsonSerialize(using = ToStringSerializer.class, nullsUsing = NullSerializer.class)
    private BigDecimal unitPrice;

    /**
     * 结算金额
     */
    @JsonSerialize(using = ToStringSerializer.class, nullsUsing = NullSerializer.class)
    private BigDecimal settlementAmount;

    /**
     * 已付金额(默认为0)
     */
    @JsonSerialize(using = ToStringSerializer.class, nullsUsing = NullSerializer.class)
    private BigDecimal paidAmount;

    /**
     * 支付状态(0.未支付，1部分支付，2已支付)
     */
    private String paySts;

    /**
     * 录入人
     */
    private String recorder;

    //    是否关联CORRELATION
    private Integer correlation;
}
